package com.example.interceptmybatis.entity;

import com.example.interceptmybatis.entity.dto.DemoDto;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.mapstruct.Mapper;

/**
 * @ClassName Demo
 * @Description TODO
 * @Author 郭敖
 * @Date 2024年07月17日 23:39
 * @Version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@AutoMapper(target = DemoDto.class)
public class Demo {
    private Integer id;
    private String name;
    private String password;
    private String email;
    private String role;
}
